package com.chulianyuang.mapper;

import com.chulianyuang.pojo.ClaimVoucher;
import com.chulianyuang.pojo.Employee;

import java.util.List;

public interface ClaimVoucherMapper {
    /**
     * 查询报销单
     * @param claimVoucher
     * @return
     */
    List<ClaimVoucher> getClaimVoucher(ClaimVoucher claimVoucher);

    /**
     * 添加报销单头
     * @param claimVoucher
     * @return
     */
    int addClaimVoucher(ClaimVoucher claimVoucher);

    /**
     * 通过id查询明细
     * @param id
     * @return
     */
    ClaimVoucher selectClaimVoucher(Integer id);

    /**
     * 通过id删除报销单头
     * @param id
     * @return
     */
    int deleteClaimVoucherById(Integer id);

    int updateClaimVoucher(ClaimVoucher claimVoucher);

    int updateClaimVoucherFull(ClaimVoucher claimVoucher);
}
